<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
*{margin:0;padding:0;}
#bsright{width:83%; float:right; margin-top:10px;	background:hsla(45,0%,100%,.7);
	height:400px;
	border:1px solid #ccc;}
.gridtable{width:800px;}
table.gridtable {
	font-family: verdana,arial,sans-serif;
	font-size:15px;
	color:#333333;
	border-width: 1px;
	border-color: #666666;
	border-collapse: collapse;
}
table.gridtable th {
	border-width: 1px;
	padding:8px;
	border-style: solid;
	border-color: #666666;
	background-color: #dedede;
}
table.gridtable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #ffffff;
}

#bsright input{

	border:1px solid #333;
}


#bsright ul li{
	line-height:50px;
	list-style:none;
}

#bsright ul li:nth-child(4) a {
	margin-left:15px;
}
</style>
</head>
<body>
<%@ include file="backstage/bscommon1.jsp" %>
<div id="bsright">

<form action="CommodityServlet?m=update" method="post">
	<ul>
    <h2>请输入您编辑信息</h2>
    <li><label>商品编号：</label><input type="text" name="Number" autofocus="autofocus" value="${CommoList.number }" />此处最好不要改动</li>
    <li><label>商品标题：</label><input type="text" name="Name" value="${CommoList.name }"/></li>
    <li><label>商品详细标题：</label><input type="text" name="Title" value="${CommoList.title }"/></li>
    <li><label>商品价格：</label><input type="text" name="Price" value="${CommoList.price}" /></li>
    <li><label>图片链接：</label><input type="text" name="Url" value="${CommoList.url }" /></li>
     <li><label>详细图片1：</label><input type="text" name="Img_1" value="${CommoList.img_1 }" /></li>
      <li><label>详细图片2：</label><input type="text" name="Img_2" value="${CommoList.img_2 }" /></li>
      <li><label>详细图片3：</label><input type="text" name="Img_3" value="${CommoList.img_3 }" /></li>
      <li><label>详细图片4：</label><input type="text" name="Img_4" value="${CommoList.img_4 }" /></li>
       <li><label>商品详细介绍：</label><textarea type="text" name="Minute" value="${CommoList.minute }">${CommoList.minute }</textarea></li>
       <li><label>类型：</label><input type="text" name="Type" value="${CommoList.type }" /></li>
    <li>
	    <input onclick="return confirm('确定要修改吗?')" type="submit" value="确认" />
	    <a href="CommodityServlet" style="text-decoration:none;">
	    	<input type="button" value="返回"  style="margin-left:15px;" />
	    </a>
    </li>
</ul>
</form>

</div>

<%@ include file="backstage/bscommon2.jsp" %>
</body>
</html>